﻿using System;

namespace Utils
    {
    public class CustomException : ApplicationException
        {	//comm -- Purpose: Define a Custome Exception so that it could be thrown 
        private string msg = "";
        public CustomException ( string msg )
            {
            //comm -- Debug.WriteLine("The error msg of the exception was " + msg	);
            this.Msg = msg; //comm -- set the value in the obj
            }

        public string Msg
            {
            get { return msg; }
            set { msg = value; }
            }
        } //eof class CustomException

    } //eof namespace Utils